﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>

@model PessModel.Subject

@{
    ViewBag.Title = "Edit";
}

<div id="m-title">
    <h2>编辑评分规则</h2>
    <div id="m-op">
        @Html.ActionLink("返回", "Index", "Rule", new { activityID = Model.ActivityID }, null)
    </div>
</div>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset class="fly-edit fly-edit-new">
        <div class="m-sd-xx m-sd-title">
            <div class="title">
                @Html.DisplayFor(model => model.Activity.Name)
            </div>
            <div class="sidebd">
                @Html.HiddenFor(model => model.ID)
                @Html.HiddenFor(model => model.ActivityID)

                @* <div class="editor-label">
                       @Html.LabelFor(model => model.ActivityID, "Activity")活动：
                    </div>
                    <div class="editor-field">
                        @Html.DisplayFor(model=>model.Activity.Name)

                    </div>*@

                <div class="editor-label">
                    @*@Html.LabelFor(model => model.Name)*@学科名称：
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Name)
                    @Html.ValidationMessageFor(model => model.Name)
                </div>
                <div class="editor-label">
                    @*@Html.LabelFor(model => model.Name)*@评分说明：
                </div>
                <div class="editor-field f-it-long2">
                    @Html.EditorFor(model => model.ScoringInstruction)
                    @Html.ValidationMessageFor(model => model.ScoringInstruction)
                </div>
                <div class="editor-label f-lb-long">
                    @*@Html.LabelFor(model => model.AllowExpertLeaderSetRules)*@允许组长设定规则：
                </div>
                <div class="editor-field f-lb-st2">
                    @Html.EditorFor(model => model.AllowExpertLeaderSetRules, null, new { @class = "f-chk" })
                    @Html.ValidationMessageFor(model => model.AllowExpertLeaderSetRules)
                </div>

                <div class="editor-label">
                </div>
                <div class="editor-field ">
                    <input type="submit" value="保存" class="u-btn u-btn-save3" />
                </div>
            </div>
        </div>
    </fieldset>
}

